package com.atguigu.seckill.service;

import com.atguigu.seckill.to.seckillSessionTo;
import com.atguigu.seckill.vo.SecKillSkuReids;

import java.util.List;

public interface SecKillSevice {


    void saveSecKillAc(List<seckillSessionTo> sessionToList);

    void saveSecKillProd(List<seckillSessionTo> sessionToList);

    List<SecKillSkuReids> listSecKillProducts();

    SecKillSkuReids querySkuSeckillInfo(String skuId);

    String dealSecKill(String killId, String key, Integer num) throws InterruptedException;
}
